<?php
class model_newagk_mockexam extends gdl_components_basemodel 
{

    public function primarykey() {
        return 'id';
    }

    public function tableName() {
        return 'agk_mock_exam';
    }

	public function getInfoArgOne($condition,$field='*'){

		if(empty($condition)) return false;
		$result = $this->selectOne($condition,$field);
		return $result;
		
	}
	public function getInfoArg($condition,$field='*'){

		if(empty($condition)) return false;
		$result = $this->select($condition,$field)->items;
		return $result;
		
	}

	
    
}
